﻿using SqlSugar;

namespace FastCode.Models
{
    /// <summary>
    /// 路由表
    /// </summary>
    public class RouteConfig : BaseModel
    {
        [SugarColumn(IsNullable = true)]
        public string? Path { get; set; }
        [SugarColumn(IsNullable = true)]
        public string? Label { get; set; }
        [SugarColumn(IsNullable = true)]
        public string? Component { get; set; }

        /// <summary>
        /// 父菜单id
        /// </summary>
        public int ParentId { get; set; } = 0;
        /// <summary>
        /// 菜单顺序
        /// </summary>
        public int Order { get; set; }
    }

}
